/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #6366F1;       /* indigo-500 主色 */
  --ifm-color-primary-dark: #4F46E5;   /* indigo-600 深色 */
  --ifm-color-primary-darker: #4338CA; /* indigo-700 更深 */
  --ifm-color-primary-darkest: #3730A3;/* indigo-800 最深 */
  --ifm-color-primary-light: #818CF8;  /* indigo-400 浅色 */
  --ifm-color-primary-lighter: #A5B4FC;/* indigo-300 更浅 */
  --ifm-color-primary-lightest: #C7D2FE;/* indigo-200 最浅 */
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* 深色模式使用较亮的靛蓝色系 */
[data-theme='dark'] {
  --ifm-color-primary: #818CF8;       /* indigo-400 主色 */
  --ifm-color-primary-dark: #6366F1;   /* indigo-500 深色 */
  --ifm-color-primary-darker: #4F46E5; /* indigo-600 更深 */
  --ifm-color-primary-darkest: #4338CA;/* indigo-700 最深 */
  --ifm-color-primary-light: #A5B4FC;  /* indigo-300 浅色 */
  --ifm-color-primary-lighter: #C7D2FE;/* indigo-200 更浅 */
  --ifm-color-primary-lightest: #E0E7FF;/* indigo-100 最浅 */
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
